

package com.hazelcast.config.security;

import com.hazelcast.config.LoginModuleConfig;

/**
 * This interface represents authentication configuration in a security realm. It provides a method to convert the configuration
 * into {@link LoginModuleConfig} form.
 */
public interface AuthenticationConfig {

    /**
     * Converts current configuration to stack of login modules.
     *
     * @return login modules stack
     */
    LoginModuleConfig[] asLoginModuleConfigs();
}
